package ru.lukyanets.transmission.protocol.model.session.stats;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author slukyanets
 */
@SuppressWarnings({"unused", "WeakerAccess"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "downloadedBytes",
        "filesAdded",
        "secondsActive",
        "sessionCount",
        "uploadedBytes"
})
@Getter
@Setter
public class CurrentStats {
    @JsonProperty("downloadedBytes")
    private long downloadedBytes;
    @JsonProperty("filesAdded")
    private int filesAdded;
    @JsonProperty("secondsActive")
    private int secondsActive;
    @JsonProperty("sessionCount")
    private int sessionCount;
    @JsonProperty("uploadedBytes")
    private long uploadedBytes;
}
